package com.bj58.ecdata.dashboard.databll;

import com.bj58.ecdata.calc.dbservice.service.BusslineEnum;
import com.bj58.ecdata.calc.dbservice.service.InfoService;
import com.bj58.ecdata.dashboard.service.SCFClient;

public class InfoServiceBLL {
	private static InfoService infoService = SCFClient.getRemoteService(InfoService.class);

	public static String getDailySum(String platform, BusslineEnum bussline) {
		return infoService.getDailySum(platform, bussline);
	}

	public static String getData(String type, String platform, BusslineEnum bussline, long time) {
		return infoService.getData(type, platform, bussline, time);
	}

	public static String getDataTodayHourly(String type, String platform, BusslineEnum bussline) {
		return infoService.getDataTodayHourly(type, platform, bussline);
	}

	public static String getDataYesterdayHourly(String type, String platform, BusslineEnum bussline) {
		return infoService.getDataYesterdayHourly(type, platform, bussline);
	}

	/**
	 * 信息事实看板用－－返回每个业务线当天新增信息量前top的二级类别和数量
	 * 
	 * @param top
	 * @return
	 */
	public static String getTopCateList(int top) {
		return infoService.getTopCateList(top);
	}

	public static long getCurrentUserCount() {
		return infoService.getCurrentUserCount();
	}

}
